import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
// import { app-roopokemon_pv } from './app.component';
import { TsetComponent } from './tset/tset.component';
import { UserComponent } from './user/user.component';
import { LoginComponent } from './login/login.component';
import { PokemonComponent } from './pokemon/pokemon.component';
import { SearchComponent } from './search/search.component';
import { IndexComponent } from './index/index.component';
import { RegisterComponent } from './register/register.component';
const routes: Routes = [
  { path: 'test', component: TsetComponent },
  { path: 'user', component: UserComponent },
  { path: 'login', component: LoginComponent },
  { path: 'pokemon', component: PokemonComponent },
  { path: 'search', component: SearchComponent },
  { path: 'index', component: IndexComponent },
  { path: 'register', component: RegisterComponent },
  { path: 'tset', component: TsetComponent },
]; //{ path: 'test', component: FirstComponent },

@NgModule({
  imports: [RouterModule.forRoot(routes)],
  exports: [RouterModule],
})
export class AppRoutingModule {}
